#!/bin/bash



for file in `ls -l .`
do
if [ -d $file ]
then

if [ -e $file/json ]
then
cd  $file/json
mv  * ../../
cd ../../
fi

fi
done